#ifndef TESTTHREAD_H
#define TESTTHREAD_H

#include <QThread>
#include <QMutex>
#include <QSharedPointer>

class TestThread : public QThread
{
public:
    TestThread();

    void run();

    static uint get_count();
    void test();
private:
//    static volatile uint count;
    static QSharedPointer<uint> count;
    static QMutex mutex;

};

#endif // TESTTHREAD_H
